home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / show-version < prev    next >
Text File  |  2006-11-04  |  5KB  |  164 lines

  1. ##########################################################
  2. #
  3. # Show-Status-CGI Output template for Privoxy.
  4. #
  5. # USING HTML TEMPLATES:
  6. # ---------------------
  7. #
  8. # Template files are written win plain HTML, with a few
  9. # additions:
  10. # - Lines that start with a '#' character like this one
  11. #   are ignored
  12. #
  13. # - Each item in the below list of exported symbols will
  14. #   be replaced by dynamically generated text, if they
  15. #   are enclosed in '@'-characters. E.g. The string @version@
  16. #   will be replaced by the version number of Privoxy.
  17. #
  18. # - One special application of this is to make whole blocks
  19. #   of the HTML template disappear if the condition <name>
  20. #   is not given. Simply enclose the block between the two
  21. #   strings @if-<name>start and if-<name>-end@. The strings
  22. #   should be placed in HTML comments (<!-- -->), so the
  23. #   html structure won't be messed when the magic happens.
  24. #   
  25. # USABLE SYMBOLS IN THIS TEMPLATE:
  26. # --------------------------------
  27. #
  28. #  my-ip-addr:
  29. #    The IP-address that the client used to reach this proxy
  30. #  my-hostname:
  31. #    The hostname associated with my-ip-addr
  32. #  admin-address:
  33. #    The email address of the pxoxy's administrator, as configured
  34. #    in the config file
  35. #  default-cgi:
  36. #    The URL for the "main menu" builtin CGI of this proxy
  37. #  menu:
  38. #    List of <li> elements linking to the other available CGIs
  39. #  version:
  40. #    The version number of the proxy software
  41. #  code-status:
  42. #    The development status of the proxy software: "alpha", "beta",
  43. #    or "stable".
  44. #  homepage:
  45. #    The URL of the SourceForge ijbswa project, who maintains this
  46. #    software.
  47. #
  48. #  redirect-url:
  49. #    The URL to a script that will redirect to the Privoxy
  50. #    documentation for a given item  
  51. #  invocation:
  52. #    The command line with whitch Privoxy was invoked
  53. #  options:
  54. #    The options read from the configfile, linked to their
  55. #    explanations, plus warnings if parsing acl or forward
  56. #    statements produced errors.
  57. #  sourceversions:
  58. #    A HTML-formatted list of the individual source file cvs versions
  59. #  defines:
  60. #    A HTML-formatted list of all conditional #defines used when
  61. #    Privoxy was compiled
  62. #
  63. #  
  64. # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
  65. # ------------------------------------------------------------------
  66. #
  67. #  unstable:
  68. #    This is an alpha or beta release of the proxy software
  69. #  have-adminaddr-info:
  70. #    An e-mail address for the local Privoxy adminstrator has
  71. #    been specified and is available through the "admin-address"
  72. #    symbol
  73. #  have-proxy-info:
  74. #    A URL for online documentation about this proxy has been
  75. #    specified and is available through the "proxy-info-url"
  76. #    symbol
  77. #  have-help-info:
  78. #    If either have-proxy-info is true or have-adminaddr-info is
  79. #    true, have-help-info is true.  Used to conditionally include
  80. #    a grey box for any and all help info.
  81. #  sourceversions
  82. #    The versions.
  83. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  84. <html>
  85.  
  86. <head>
  87.   <title>Privoxy@@my-hostname@: Detailed proxy version information</title>
  88.   <meta http-equiv="Content-Style-Type" content="text/css">
  89.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  90.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  91.   <meta name="robots" content="noindex,nofollow">
  92.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  93. </head>
  94.  
  95. <body>
  96.  
  97.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  98.     <tr>
  99.       <td class="title">
  100.  
  101. #include mod-title
  102.  
  103.       </td>
  104.     </tr>
  105.  
  106. <!-- @if-unstable-start -->
  107. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  108.     <tr>
  109.       <td class="warning">
  110.  
  111. #include mod-unstable-warning
  112.  
  113.       </td>
  114.     </tr>
  115. <!-- if-unstable-end@ -->
  116.  
  117.     <tr>
  118.       <td class="box">
  119.         <h2>Source code versions:</h2>
  120.         <p><i>(Note: This information is only relevant if you checked out Privoxy from CVS
  121.            and compiled it yourself.  If you downloaded a binary, .exe, RPM, or a .tgz file, 
  122.            then when you ask for support just mention the version number <b>@version@</b> 
  123.            and the type of download you got.)</i>
  124.         </p>
  125.         <pre>@sourceversions@</pre>
  126.       </td>
  127.     </tr>
  128.  
  129.     <tr>
  130.       <td class="box">
  131.         <h2>More Privoxy:</h2>
  132.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  133.       </td>
  134.     </tr>
  135.  
  136.     <tr>
  137.       <td class="info">
  138.  
  139. #include mod-support-and-service
  140.  
  141.       </td>
  142.     </tr>
  143.  
  144. <!-- @if-have-help-info-start -->
  145.     <tr>
  146.       <td class="info">
  147.  
  148. #include mod-local-help
  149.  
  150.       </td>
  151.     </tr>
  152. <!-- if-have-help-info-end@ -->
  153.  
  154.      <tr>
  155.       <td>
  156.         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
  157.       </td>
  158.     </tr>       
  159.   </table>
  160.  
  161. </body>
  162. </html>
  163.